package com.hbqyml.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hbqyml.common.annotation.Excel;
import com.hbqyml.common.core.domain.BaseEntity;

/**
 * 企业产品对象 qy_product
 * 
 * @author houyutong
 * @date 2022-03-22
 */
public class QyProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品id */
    private Integer productId;

    /** 企业id */
    @Excel(name = "企业id")
    private Integer enterpriseId;

    /** 删除标志0 正常1 删除 */
    private Integer delFlag=0;

    /** 图片 */
    @Excel(name = "图片")
    private String productImg;

    /** 产品名 */
    @Excel(name = "产品名")
    private String productName;

    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }
    public void setEnterpriseId(Integer enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public Integer getEnterpriseId() 
    {
        return enterpriseId;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setProductImg(String productImg) 
    {
        this.productImg = productImg;
    }

    public String getProductImg() 
    {
        return productImg;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("enterpriseId", getEnterpriseId())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("productImg", getProductImg())
            .append("productName", getProductName())
            .toString();
    }
}
